﻿<Canvas x:Name="parentCanvas"
        xmlns="http://schemas.microsoft.com/client/2007" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        Loaded="Page_Loaded" 
        Width="100"
        Height="100"
        
        >
	<Canvas.Resources>
		<Storyboard x:Name="animation">
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF0879EA"/>
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#FFE9EA08"/>
				<SplineColorKeyFrame KeyTime="00:00:01.5000000" Value="#FF42EA08"/>
				<SplineColorKeyFrame KeyTime="00:00:02" Value="#FF08EADD"/>
				<SplineColorKeyFrame KeyTime="00:00:03" Value="#FFEA4408"/>
			</ColorAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="72"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="59"/>
				<SplineDoubleKeyFrame KeyTime="00:00:02" Value="71"/>
				<SplineDoubleKeyFrame KeyTime="00:00:03" Value="-1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="6"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="13"/>
				<SplineDoubleKeyFrame KeyTime="00:00:02" Value="19"/>
				<SplineDoubleKeyFrame KeyTime="00:00:03" Value="31"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</Canvas.Resources>
	<Ellipse Width="8" Height="9" Fill="#FFFFFFFF" Canvas.Left="61" Canvas.Top="12" x:Name="ellipse" RenderTransformOrigin="0.5,0.5">
		<Ellipse.RenderTransform>
			<TransformGroup>
				<ScaleTransform ScaleX="1" ScaleY="1"/>
				<SkewTransform AngleX="0" AngleY="0"/>
				<RotateTransform Angle="0"/>
				<TranslateTransform X="0" Y="0"/>
			</TransformGroup>
		</Ellipse.RenderTransform>
	</Ellipse>

</Canvas>